Skip to main content

Faults

Detailed description of API:

Version & Updates

VersionRevision DateRevision History
1.005th May 2026Added LATAM endpoint details

Overview

Faults API exposes vehicle fault data to the DMS providers, enabling them to have all the relevant fault information about the equipment required for a work/reapir order of vehicle.

A DMS provider can query the active fault and/or the historical (30 days) fault data on a real time basis by providing the Vehicle Identification Number (VIN) and/or start and end dates via API request parameter. The API provides geographical information of the equipment and the various faults occurred between the requested dates as a response.

Please refer to diagram below for information on the data flow of this interface.

image.png

Pre-requisites

  • Dealer must use their Dealer Portal credentials to authorize API call
  • Each DMS provider will have a Subscription key assigned by CNHi team, please reach out to dlnadmssupport@cnh.com for assistance
  • Each Subscription key is unique to DMS and the environment it belongs to

Authentication

  • DMS will pass Basic auth in HTTP header with username/password
  • Each DMS provider will have a subscription_key assigned by CNHi team, please reach out to dlnadmssupport@cnh.com for assistance
  • The UserID and Password will be set up in the Dealer Portal by the Dealer uniquely for DMS access to interfaces
  • DEP API will require subscription_key in HTTP header to identify client

API Format

CNHi’ s has built a data exchange platform, which provides the flexibility to the end users to request information from CNHi system in the following format.

  • REST

The DEP takes care of the format transformations (as needed) to process the request and provide a response to the DMS system. REST format is always suggested for greater simplicity.

Connection Details

LATAM Endpoints

EnvironmentAPI URLAPIRequest Type
UAT / Staginghttps://{base_url}/latamexternal/services/v1/assets/{assetid}/faults/{startdate}/{enddate}RESTGET
Productionhttps://{base_url}/latamexternal/services/v1/assets/{assetid}/faults/{startdate}/{enddate}RESTGET

Request Description

NameTypeIs RequiredDefault ValueComments
assetidStringTrue--Serial/Vehicle Identification number of the equipment
startDateDate TimeTrue--The date- time notation as defined by RFC 3339, section 5.6, ex: 2017-07-21T17:32:28Z
endDateDate TimeTrue--The date- time notation as defined by RFC 3339, section 5.6, ex: 2017-07-21T17:32:28Z

Response Description

Location

NameTypeDescription
timestring (date- time)The date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z.
pos.timedate-timeDatetime from GPS. The date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z.
pos.latdoubleLatitude, GPS data. From pos_point Point object.
pos.londoubleLongitude, GPS data. From pos_point Point object.
country.codestringDenoting geographical location of vehicle code
country.namestringDecoded value of country.code
country.timeZonestringTimezone of local location of vehicle
recordsarray[fault]Fault records

Fault

NameTypeDescription
eventTypeStringMEDIUM_TRACTOR_FAULT_TELEMATIC_DIAG, HARVESTER_FAULT.
DtcIntegerDiagnostic Trouble Code.
SpnintegerSuspect Parameter Number.
FmiintegerFailure Mode Identifier.
sourceAddressintegerSource address or electronic control unit.
DescriptionStringEnriched DTC description.
SourceStringFault source, either Vehicle bus or ISO bus (only Vehicle bus for now).
applicationDesacriptionStringDTC application specific description.
ApplicationStringApplication name (platform)
StandardStringAutomotive engineers standard.
SystemStringSystem
systemDescriptionStringSystem Description
cnhEcuStringCNH ECU
originEcuStringOriginating ECU
originEcuDescriptionStringOriginating ECU description
yellowWarnlampBoolean
redStopLampBoolean
specLamplconBoolean
priorityOnBoardInteger
priorityOffBoardInteger
rawPriorityIntegerRaw priority
visibleCustomerOffBoardDealerBooleanVisible to the customer (off board dealer).
visibleCustomerOffBoardDealerRelayedRecordsBooleanVisible to the customer (off-board dealer) relayed records. If experimental=true the property is fetched from faults_x and faults_x_v2 tables. If experimental=false the property is fetched from faults_x and faults_x_v2 table.
visibleCustomerOffBoardGrowerBooleanVisible to the customer (off board grower).
visibleCustomerOffBoardGrowerRelayedRecordsBooleanVisible to the customer (off board grower) relayed records.
visibleCustomerOnBoardBooleanVisible to the customer (on board).
occurrencesIntegerA counter that counts the occurrence of the error condition for each SPN/FMI or DTC.
syntheticOccurrencesLongA synthetic counter that counts the occurrence of the error condition. Unlike occurrences this value doesn't come from the device but is calculated during Faults processing and is reset every month. See Alarms and Faults P-rocessing for more details.
ActiveBooleanStatus; If experimental == false then faults.fault_status ! = 0 else faults.fault_active .
EnrichedBooleanEnriched; Whether a description and other fields were enriched with the DTC catalog.
engHoursDoubleThe last known value of ENG_HOURS metric within configured metricLateness duration from the Fault time. For example, the most recent value of ENG_HOURS metric has event_timestamp between faults.event_timestamp - metric Lateness (not included) and faults.event_timestamp (included). Right now, metricLateness = 15 minutes.
rawDescriptionStringDescription field from a raw message.
errorTagsArray [String]The list of processing warnings separated by a comma. If an array is empty, then error Tags will not be shown in response.
relayingMethodStringRelaying method.
relayedAddress1IntegerRelayed Source Address 1.
relayedAddress2IntegerRelayed Source Address 2.
relayedEcu1StringRelayed Ecu1
relayedEcu2StringRelayed Ecu2
relayedSpnIntegerRelayed SPN.
relayedFmiIntegerRelayed FMI.
relayedCodeLongRelayed DTC code.
masterStandardStringMaster standard.
masterSourceAddressIntegerMaster Source Address.
masterSpnIntegerMaster SPN.
masterFmiIntegerMaster FMI.
masterDtcIntegerMaster DTC code.
localizedDescriptionStringThe unifiedDescriptionLocalization field from Localization API response for the corresponding Fault.
activationTimestampString (date time)Time when the Fault first activated.

Sample Response

Download Sample Response

Response Codes

Status CodeMessageReason
200API request successSuccesful connection to API and backend
500Internal Server ErrorUnsuccessful conection to API or backend
401Access denied due to invalid credentials!Bad credentials, check username and password
404The requested VIN is not a connected vehicle, please check the VIN.Vehicle does not have modem or telematic equipment.
404VIN is not available, please check the VIN.Incorrect VIN input.
404No data found, Telematic subscription has expired for this VIN.Telematic subscription for the VIN has expired.
404Vehicle data currently not available due to Telematic connectivity issue.Vehicle is unable to connect/transmit telematic data.
404The requested VIN is inactive or has never been activated, please check Telematic subscription.Telematic subscription is either inactive or not activated.
404The requested VIN or Telematic data could not be found but may be available in the future, please check the VIN and Telematic subscription.Service is down and/or trouble with backend.